html, body {
    width: 100%;
    height: 100%
}

canvas {
    display: block;
    vertical-align: bottom
}

.count-particles {
    background: #002;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13e8e9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700
}

.js-count-particles {
    font-size: 1.1em
}

#stats, .count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden
}

.count-particles {
    border-radius: 0 0 3px 3px
}

#particles-js {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url(../img/bg.jpg);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto
}

.sk-rotating-plane {
    display: none;
    width: 80px;
    height: 80px;
    margin: auto;
    background-color: #fff;
    -webkit-animation: sk-rotating-plane 1.2s infinite ease-in-out;
    animation: sk-rotating-plane 1.2s infinite ease-in-out;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -80px
}

.sk-rotating-plane.active {
    display: block
}

@keyframes sk-rotating-plane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg)
    }
}

@keyframes login-small {
    0% {
        transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1)
    }
    100% {
        transform: scale(.2);
        -moz-transform: scale(.1);
        -webkit-transform: scale(.2);
        -o-transform: scale(.1);
        -ms-transform: scale(.1)
    }
}

.login {
    z-index: 2;
    position: absolute;
    width: 350px;
    border-radius: 5px;
    height: 500px;
    background: #fff;
    box-shadow: 0 0 5px #333;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -175px;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s
}

.login-top {
    font-size: 24px;
    margin-top: 80px;
    padding-left: 40px;
    box-sizing: border-box;
    color: #333;
    margin-bottom: 50px
}

.login-center {
    width: 100%;
    box-sizing: border-box;
    padding: 0 40px;
    margin-bottom: 30px
}

.login-center-img {
    width: 20px;
    height: 20px;
    float: left;
    margin-top: 5px
}

.login-center-img > img {
    width: 100%
}

.login-center-input {
    float: left;
    width: 230px;
    margin-left: 15px;
    height: 30px;
    position: relative
}

.login-center-input input {
    z-index: 2;
    transition: all .5s;
    padding-left: 10px;
    color: #333;
    width: 97%;
    height: 30px;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    box-sizing: border-box;
    outline: 0;
    position: relative
}

.login-center-input input:focus {
    border: 1px solid #1e90ff
}

.login-center-input-text {
    background: #fff;
    padding: 0 5px;
    position: absolute;
    z-index: 0;
    opacity: 0;
    height: 20px;
    top: 50%;
    margin-top: -10px;
    font-size: 14px;
    left: 5px;
    color: #1e90ff;
    line-height: 20px;
    transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    -o-transition: all .5s
}

.login-center-input input:focus ~ .login-center-input-text {
    top: 0;
    z-index: 3;
    opacity: 1;
    margin-top: -15px
}

.login.active {
    -webkit-animation: login-small .8s;
    animation: login-small .8s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards
}

.login-button {
    cursor: pointer;
    width: 250px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    background-color: #1e90ff;
    border-radius: 5px;
    border: 0;
    padding: 0;
    font-size: 1.2em;
    color: #fff
}

a.signup {
    text-align: center;
    font-size: 1em;
    color: #85b4f2
}

input.input-material {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 10px 0
}

input.input-material.is-invalid {
    border-color: #dc3545 !important
}

input.input-material.is-invalid.form-control {
    font-size: .8em
}

input.input-material:focus {
    border-color: #796aee
}

input.input-material ~ label {
    color: #aaa;
    position: absolute;
    top: 14px;
    left: 0;
    cursor: text;
    -webkit-transition: all .2s;
    transition: all .2s;
    font-weight: 300
}

input.input-material ~ label.active {
    font-size: .6rem;
    top: -10px;
    color: #796aee
}

input.input-material.is-invalid ~ label {
    color: #dc3545
}

#alert {
    width: 290px;
    left: 50%;
    display: none;
    z-index: 1;
    position: absolute;
    border-radius: 5px;
    margin-left: -175px;
    box-sizing: content-box;
}

/* Custom style to set icon size */
.alert i[class^="bi-"] {
    font-size: 1.5em;
    line-height: 1;
}

.pc-search {
    width: 25%;
    position: relative;
    display: flex;
    list-style: none;
    margin: 0 1% 0 50%;
}

.pc-search input {
    width: 100%;
    border: 1px solid #e0e4e8;
    height: 40px;
    line-height: 50px;
    padding: 0 10px;
    border-radius: 3px;
    margin: 0;
    outline-width: 0;
}

.pc-search .iconfont {
    position: absolute;
    right: 0;
    width: 30px;
    height: 40px;
    line-height: 40px;
    color: #8d8a8a;
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}